<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

	


	<!-- 模拟修改操作
		1，原始数据为：1，Tom，123456，tom@qq.com，12
	 -->
	<form action="<%=path%>/springmvc/testModelAttribute" method="post">
		<input type="hidden" name="id" value="1">
		username:<input type="text" name="username" value="Tom">
		<br/>
		email:<input type="text" name="email" value="tom@qq.com">
		<br/>
		age:<input type="text" name="age" value="12">
		<br/>
		<input type="submit" value="Submit">
	</form>
	<br/>

	<a href="<%=path%>/emps">List All Employees</a>

</body>
</html>